import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import testops.top.domain.Account;
import testops.top.service.AccountService;

import java.beans.PropertyVetoException;
import java.util.List;


@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:applicationContext.xml")
public class Demo04 {
    @Autowired
    private AccountService accountService;

    @Test
    public void test01(){
        accountService.transfer("carson","tom",1000);
    }
}
